package com.glsc.ngateway.platform.dto;

import cn.hutool.core.annotation.Alias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author guoj
 * @description: 导出应用详情 用于批量填写
 * @date 2024/11/4 15:06
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("导入应用详情")
public class UploadIpInfoDetailDto {
    @ApiModelProperty(value = "唯一码")
    @Alias(value = "唯一码")
    String uniqueKey;
    @ApiModelProperty(value = "IP")
    @Alias(value = "IP")
    String ip;
    @ApiModelProperty(value = "虚拟机名称")
    @Alias(value = "虚拟机名称")
    private String virtualName;

    @ApiModelProperty(value = "系统名称")
    @Alias(value = "系统名称")
    String systemName;
    @ApiModelProperty(value = "应用类别")
    @Alias(value = "应用类别")
    String componentCategory;

    @ApiModelProperty(value = "应用名称")
    @Alias(value = "应用名称")
    String componentName;
    @ApiModelProperty(value = "安装路径")
    @Alias(value = "安装路径")
    String componentPath;
    @ApiModelProperty(value = "主灾标识 主Y备N")
    @Alias(value = "主灾标识 主Y备N")
    String mainOrBackup;
    @ApiModelProperty(value = "运行状态 正常Y故障N")
    @Alias(value = "运行状态 正常Y故障N")
    String runStatus;
    @ApiModelProperty(value = "是否独占 是Y否N")
    @Alias(value = "是否独占 是Y否N")
    String exclusive;
    @ApiModelProperty(value = "占用比例")
    @Alias(value = "占用比例")
    private String sourceAllocation;
}
